package top.dark.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import top.dark.common.utils.R;
import top.dark.product.vo.SkuStockVo;

import java.util.List;

/**
 * Author: Darkn
 * description:
 * Create Time: 2021/3/3 11:45
 */
@FeignClient("mall-ware")
public interface WareFeignService {

    @RequestMapping("/ware/waresku/hasStock")
    R<List<SkuStockVo>> skuHasStock(@RequestBody List<Long> skuIds);
}
